home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xm / XmTextGetBaseline.z / XmTextGetBaseline
Text File  |  1998-10-30  |  3KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttBBBBaaaasssseeeelllliiiinnnneeee((((3333XXXX))))     UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV     XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttBBBBaaaasssseeeelllliiiinnnneeee((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttBBBBaaaasssseeeelllliiiinnnneeee - A Text function that accesses the y
  10.           position of the baseline
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           #include <Xm/Text.h>
  14.           iiiinnnntttt XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttBBBBaaaasssseeeelllliiiinnnneeee(
  15.           WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt);
  16.  
  17.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  18.           This page documents Motif 2.1.
  19.  
  20.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  21.           XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttBBBBaaaasssseeeelllliiiinnnneeee accesses the _y position of the baseline in
  22.           the Text widget, relative to the _y position of the top of
  23.           the widget.
  24.  
  25.           In vertical mode (when the XXXXmmmmNNNNllllaaaayyyyoooouuuuttttDDDDiiiirrrreeeeccccttttiiiioooonnnn resource is
  26.           XXXXmmmmTTTTOOOOPPPP____TTTTOOOO____BBBBOOOOTTTTTTTTOOOOMMMM) this function returns 0 and the program
  27.           should use XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttCCCCeeeennnntttteeeerrrrlllliiiinnnneeee
  28.  
  29.           _w_i_d_g_e_t    Specifies the Text widget ID
  30.  
  31.           For a complete definition of Text and its associated
  32.           resources, see XXXXmmmmTTTTeeeexxxxtttt(3).
  33.  
  34.      RRRREEEETTTTUUUURRRRNNNN
  35.           Returns an integer value that indicates the _y position of
  36.           the baseline in the Text widget.  The calculation takes into
  37.           account the margin height, shadow thickness, highlight
  38.           thickness, and font ascent of the first font (set) in the
  39.           fontlist used for drawing text.  In this calculation, the _y
  40.           position of the top of the widget is 0 (zero).
  41.  
  42.      RRRREEEELLLLAAAATTTTEEEEDDDD
  43.           XXXXmmmmTTTTeeeexxxxtttt(3), XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttCCCCeeeennnntttteeeerrrrlllliiiinnnneeee(3).
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/24/98)
  64.  
  65.  
  66.  
  67.